package com.tentact.Service.impl;

import com.tentact.Service.EmpService;
import com.tentact.mapper.EmpMapper;
import com.tentact.pojo.T_User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmpServiceimpl implements EmpService  {
@Autowired
    EmpMapper empMapper;
    @Override
    public List<T_User> empsearch(String userName   ) {
       List<T_User> tUsers = empMapper.selectemplist(userName);
        return tUsers;
    }

//    @Override
//    public String addEmpinsert(T_User t_user) {
//        String tuser = empMapper.insertemp(t_user);
//        return tuser;
//    }

}
